//
//  WYFWebViewProxyDelegate.h
//  NetEaseFinancial
//
//  Created by 吴玉峰 on 8/17/15.
//  Copyright (c) 2015 吴玉峰. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

@class UIWebView;

@interface WYFWebViewProxyDelegate : NSObject <UIWebViewDelegate>

- (instancetype)initWithWebView:(UIWebView *)webView webViewDelegate:(NSObject<UIWebViewDelegate> *)webViewDelegate;

- (instancetype)initWithWebView:(UIWebView *)webView
                webViewDelegate:(NSObject<UIWebViewDelegate> *)webViewDelegate
                 resourceBundle:(NSBundle *)bundle;

- (void)addJavascriptInterface:(NSObject *)interface WithName:(NSString *)name;

- (void)executeJavasciptFunction:(NSString *)js;

@end
